import filter from '../collections/filter'
export default function compact<T>(array: T[]): T[] {
    return filter<T>(array, Boolean);
};